
#ifndef _STEPREADER_H_
#define _STEPREADER_H_

#include "ExchangeApi.hpp" 
#include "../OLCore/AbstractFileReader.hpp"
#include "../OLApp/defines.hpp"

#include <vtkPoints.h>


namespace NSExchange {

	class GeometryData;

	class EXCHANGEAPI StepReaderTask :
		public NSCore::AbstractFileReader
	{
		Q_OBJECT
	public:
		StepReaderTask(int id, QString filename) : NSCore::AbstractFileReader(id, filename) { };
		~StepReaderTask() override {};
		void run() override;
		/*override*/
	public:
		inline QString className() override { return "StepReaderTask"; };
		
	signals:
		void actionReadFinished(GeometryData*);
		void actionProgressChanged(int /*progress*/);		

	private:
		QList<int> m_ids;

	};

}

#endif
